package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 抽奖次数详细记录分页 Request VO")
@Data
public class PrizeDrawNumberRecordPageReqVO extends PageParam {

    @Schema(description = "用户编号", example = "29303")
    private Long userId;

    @Schema(description = "获得抽奖次数方式（1：积分兑换，2：连续签到，3：商城下单）", example = "1")
    private Boolean settingType;

    @Schema(description = "积分")
    private Integer point;

    @Schema(description = "签到日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] signDate;

    @Schema(description = "签到连续次数")
    private Integer signNum;

    @Schema(description = "抽奖设置商品批次ID", example = "2377")
    private Long prizeDrawSettingBatchId;

    @Schema(description = "商品 SPU 编号", example = "3205")
    private Long spuId;

    @Schema(description = "商品 SPU 名称", example = "王五")
    private String spuName;

    @Schema(description = "商品 SKU 编号", example = "19465")
    private Long skuId;

    @Schema(description = "是否生效中（0：否，1：是）")
    private Integer isEffect;

    @Schema(description = "是否获得抽奖次数（0：否，1：是）")
    private Integer isObtained;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}